package com.itfreer.map.commn.data;

import com.itfreer.gis.offline.base.OfflineDataBase;
import com.itfreer.map.AppDatabaseHelper;
import com.itfreer.map.commn.data.entity.CommonLnEntity;

/**
 * 通用线标注
 */
public class CLnOfflineData extends OfflineDataBase<CommonLnEntity> {

    public CLnOfflineData() {
        super(AppDatabaseHelper.getInstance(), CommonLnEntity.class);
    }

    /**
     * 获取ID字段
     *
     * @return
     */
    public String getIDFiled() {
        return "s_id";
    }

    /**
     * 获取Geom字段
     *
     * @return
     */
    public String getGeomField() {
        return "geom";
    }

    @Override
    public String getTableName() {
        return "fm_common_ln";
    }
}
